/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.domain;

import com.yunqian.model.BaseModel;
import com.yunqian.redot.constant.Tables;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author czy
 * 2018-11-08 09:42:03
 */
@Data
@Entity
@Table(name = Tables.MENU)
@EqualsAndHashCode(callSuper = false)
public class Menu extends BaseModel<Long>{
    
    /***/
    @Column(name = "status")
    private Integer status;
    /**匹配路径*/
    @Column(name = "url")
    private String url;
    /**菜单名称*/
    @Column(name = "name")
    private String name;
    /**父类ID*/
    @Column(name = "parent_id")
    private Long parentId;


    public Menu() {
    }

}
